#!/bin/bash

echo "Run this script when being one level ABOVE the html folder... (return to continuei, CTRL+C to quit)"
read


today=`date +%Y%m%d`

Creating snapshot for $today...

mkdir WySee-Web_$today
cd html
cp Config Engine Theme index.php request.php upload.php ../WySee-Web_$today -a
cd ..
tar cjvf WySee-Web_$today.tar.bz2 WySee-Web_$today
rm -rf WySee-Web_$today
echo Done!

